UNIPOWERD
Section: Maintenance Commands (8)
Index
Return to Main Contents
NAME
genpowerd - UPS monitor daemon
SYNOPSIS
/sbin/genpowerd
[
-k
] tty ups-type
DESCRIPTION
Genpowerd
monitors the serial port connected to an UPS device
and will perform an unattended shutdown of the system
if the UPS is on battery longer than a specified
number of minutes.
Genpowerd
needs to watch a tty with modem control properties,
and [wiring details to be added.] Please refer to the
genpowerd
documentation for further information.
ARGUMENTS
- Serial-Device
-
Some serial port that is not being used by some other device, and does not
share an interrupt with any other serial port.
- UPS-Type
-
A text string identifying the UPS and cable combination that genpowerd is
to monitor. If genpowerd is envoked without any arguments, a list of
available configurations will be displaied.
OPTIONS
genpowerd
has the following command line options:
- -k
-
Causes
genpowerd
to send the signal to kill the UPS's inverter. This signal is
configured at compile time in the
genpowerd.h
header file, and selected by the UPS/cable configuration selected
at runtime.
ENVIRONMENT VARIABLES
Unipowerd does not use environment variables.
FILES
/etc/powerstatus indicates line power status
/etc/upsstatus indicates UPS battery status
/etc/genpowerfail script to manage power failures
BUGS
Well, not a real bug but
genpowerd
should be able to do a broadcast or
something on the ethernet in case more Linux-boxes are connected to
the same UPS and only one of them is connected to the UPS status line.
SEE ALSO
shutdown(8), wall(1), init(8), inttab(5).
AUTHOR
Tom Webster <webster@kaiwan.com>
(with parts of this man page pirated from all over the Linux community)
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- ARGUMENTS
-
- OPTIONS
-
- ENVIRONMENT VARIABLES
-
- FILES
-
- BUGS
-
- SEE ALSO
-
- AUTHOR
-
This document was created by
man2html,
using the manual pages.
Time: 22:26:05 GMT, January 16, 2023